import  defineStore from 'pinia'

// export 
const data = new defineStore('data', {
  state() {
    return {
      //控制侧边栏是否收缩
      collapse: false,
      tags: [
        {prefix: "", name: '首页', type: '', closable: true, path: "/"},
        {prefix: "", name: '系统管理员', type: '', closable: true, path: "/admin/sysUser"},
        {prefix: "", name: '班级管理', type: '', closable: true, path: "/admin/classz"},
        {prefix: "", name: '学员管理', type: '', closable: true, path: "/admin/student"},
        {prefix: "", name: '老师管理', type: '', closable: true, path: "/admin/teacher"},
        {prefix: "", name: '章节管理', type: '', closable: true, path: "/admin/chapter"},
        {prefix: "", name: '知识点', type: '', closable: true, path: "/admin/knowledge"},
        {prefix: "", name: '题库管理', type: '', closable: true, path: "/admin/question"},
        {prefix: "", name: '练习题', type: '', closable: true, path: "/admin/quesWare"},
        {prefix: "", name: '交互课件', type: '', closable: true, path: "/admin/cjquesWare"},
        {prefix: "", name: 'PPT课件', type: '', closable: true, path: "/admin/pptWare"},
        {prefix: "", name: '微课', type: '', closable: true, path: "/admin/microVideoWare"},
        {prefix: "", name: '应用资源', type: '', closable: true, path: "/admin/gameModule"},
        {prefix: "", name: '统计图', type: '', closable: true, path: "/admin/cartogram"},
        {prefix: "", name: '错题集', type: '', closable: true, path: "/admin/errorQuestion"},
        {prefix: "", name: '学习操作记录', type: '', closable: true, path: "/admin/studentStudyLogs"},
        {prefix: "", name: '各知识学习情况统计', type: '', closable: true, path: "/admin/allKnowStudyTotalStatics"},
        {prefix: "", name: '知识难点统计', type: '', closable: true, path: "/admin/knowledgeDifficultyStatics"},
        {prefix: "", name: '理解记忆准确性统计', type: '', closable: true, path: "/admin/understandMemoryAccuracyStatistics"},
        {prefix: "", name: '解题时长统计', type: '', closable: true, path: "/admin/problemSolvingTimeStatistics"},
        {prefix: "", name: '成绩统计', type: '', closable: true, path: "/admin/achievementStatistics"},
        {prefix: "", name: '课件耗时统计', type: '', closable: true, path: "/admin/coursewareTimeStatistics"},
        {prefix: "", name: '时效统计', type: '', closable: true, path: "/admin/knowWareStudyTimeStatics"},
        {prefix: "", name: '平均练习时长统计', type: '', closable: true, path: "/admin/averagePracticeTimeStatics"},
        {prefix: "", name: '全班学情表', type: '', closable: true, path: "/admin/allLearnedTheStatusSheet"},
        {prefix: "", name: '个人学情表', type: '', closable: true, path: "/admin/appAchievementStatistics"},

      ]
    }
  }
})

export default {
  data
}
